<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .a {
            display: inline;
            background-color: red;
            width: 100px;
        }
        .b {
            display: inline;
            background-color: blue;
            width: 100px;
            height: 500px;
        }

    </style>
</head>
<body>
<div class="a">aaa bbb ccc ddd eee fff</div>



<div class="b">aaa</div>
<ul>
    <li>aaa</li>
    <li>bbb</li>
</ul>
</body>
</html>